#!/anaconda3/envs/Script/bin python3.8
# -*- coding: utf-8 -*-
# ---
# @Software: PyCharm
# @File: config.py
# @Author: AllenFu
# @Institution: NCHU, China
# @E-mail: nchufujianjian@126.com
# @Site: 配置类
# @Time: 11月 25, 2020
# ---

SQLALCHEMY_DATABASE_URI='mysql+pymysql://root:08d98ec0ee184093@10.89.3.131:3306/hr-self-service'
SQLALCHEMY_TRACK_MODIFICATIONS=True
SQLALCHEMY_POOL_SIZE=10


SECRET_KEY='7PXsHcHGfa4e3kEs8Rvcv8ymjI0UeauX'
JWT_LEEWAY=604800

DEBUG_LOG=True
# log save 1为文件形式 2为数据库， 默认是数据库方式
SAVE_LOG=1

# 文件上传路径
UPLOAD_FOLDER = '/uploads'
MAX_CONTENT_LENGTH = 16*1024*1024
# 支持的文件扩展名
ALLOW_EXTENSIONS = set(['txt', 'pdf','png','jpg', 'jpeg', 'gif'])


